.color-picker {
  width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 0px 20px #bbbbbb;
}
.color-picker .color-picker-top {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 10px;
}
.color-picker .color-picker-top .color-picker-top-hex {
  height: 100%;
  width: 110px;
  display: flex;
  flex-direction: column;
}
.color-picker .color-picker-top .color-picker-top-hex span {
  text-align: center;
}
.color-picker .color-picker-top .color-picker-top-rgba {
  height: 100%;
  width: 80px;
  display: flex;
  flex-direction: column;
}
.color-picker .color-picker-top .color-picker-top-rgba span {
  text-align: center;
}
.color-picker .color-picker-tools {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 5px 0;
}
.color-picker .color-picker-tools .left {
  height: 80px;
  width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.color-picker .color-picker-tools .left .color {
  height: 30px;
  width: 100%;
  position: relative;
  border-radius: 5px;
  background: linear-gradient(to left, red 0px, rgb(0, 255, 251) 10%, #cd00ff 20%, #3200ff 30%, #0066ff 40%, #00fffd 50%, #00ff66 60%, #35ff00 70%, #cdff00 80%, #ff9900 90%, red 100%);
}
.color-picker .color-picker-tools .left .color .color-flag {
  height: 35px;
  position: absolute;
  width: 15px;
  border-radius: 4px;
  border: 1px solid black;
  background-color: #e5e5e5;
  top: -4px;
  box-shadow: 2px 2px 4px gray;
  cursor: pointer;
  text-align: center;
  line-height: 35px;
}
.color-picker .color-picker-tools .left .alpha {
  height: 30px;
  width: 100%;
  border-radius: 5px;
  position: relative;
  background: url("");
}
.color-picker .color-picker-tools .left .alpha .alpha-flag {
  height: 35px;
  position: absolute;
  width: 15px;
  border-radius: 4px;
  border: 1px solid black;
  background-color: #e5e5e5;
  top: -4px;
  box-shadow: 2px 2px 4px gray;
  cursor: pointer;
  text-align: center;
  line-height: 35px;
}
.color-picker .color-picker-tools .right {
  height: 80px;
  width: 80px;
}
.color-picker .color-picker-tools .right .color-picker-top-color {
  height: 80px;
  width: 80px;
  background: url("");
}
.color-picker .color-picker-tools .right .color-picker-top-color .color-picker-top-color-rgba {
  height: 80px;
  width: 80px;
  border-radius: 5px;
}
.color-picker .color-picker-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.color-picker .color-picker-bottom .color-picker-left {
  width: 558px;
  height: 358px;
  display: flex;
  position: relative;
  flex-direction: column;
  overflow: hidden;
}
.color-picker .color-picker-bottom .color-picker-left .color-picker-cvs-picker {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  color: #fa0202;
}
.color-picker .color-picker-bottom .color-picker-left .color-picker-slider {
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(251, 251, 251, 0);
  width: 18px;
  height: 18px;
  border-radius: 18px;
  cursor: pointer;
  pointer-events: none;
}
